package com.todo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.todo.entity.TID;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface TIDMapper extends BaseMapper<TID> {

    @Select("select * from t_tid_pool order by rand() limit 1")
    public TID getTID();
}
